import request from '@/utils/request'

// api地址
const api = {
  list: 'category/list',
  pzsService: 'category/pzsService'
}

// 页面数据
export function list() {
  return request.get(api.list)
}
export function pzsService(params = {}) {
    // 添加 isService 参数
    const newParams = {
        ...params,
        isService: 1
    };
    return request.get(api.pzsService, { params: newParams });
}
